#ifndef JUDGE_BANNER_H
#define JUDGE_BANNER_H

#include"mainwindow.h"

class point{

public:
    int i;int j;
    int drc;
    point(){

    }
    point(int x0,int y0,int drc0){
        i=x0;j=y0;drc=drc0;
    }

};


class Judge_banner
{
public:
    Judge_banner();

    static vector<point> second_findlive;

    static vector<point> second_findskip;

    static int IsDisallowed(int crtP,int board[N][N],int I,int J);

    static int CountLiveThree(int crtP, int board[N][N],int I,int J);

    static int CountSkipThree(int crtP, int board[N][N],int I,int J);

    static int CountFour(int crtP, int board[N][N],int I,int J);

    static int JudgeLongLink(int crtP, int board[N][N],int I,int J);

    static int JudgeFiveLink(int crtP, int board[N][N],int I,int J);

    static int SecondFour_Live(int crtP, int board[N][N],point point0);

    static int SecondFour_Skip(int crtP, int board[N][N],point point0);

    static int SecondFour_Long(int crtP, int board[N][N],point point0);
};

#endif // JUDGE_BANNER_H
